tests: remove radio mode from the test
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 24 Nov 2010 14:50:08 +0000 (15:50 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 24 Nov 2010 14:50:08 +0000 (15:50 +0100)
tests/testappchooser.c

index 400b8e232fd0b254e430df927846ec5a36b44f76..3653bdaa3de85e3de5f40fe7baf66c443724d3e3 100644 (file)
@@ -28,7 +28,7 @@ static GFile *file;
 static GtkWidget *grid, *file_l, *open;
 static GtkWidget *radio_file, *radio_content, *dialog;
 static GtkWidget *app_chooser_widget;
-static GtkWidget *recommended, *fallback, *other, *all, *radio;
+static GtkWidget *recommended, *fallback, *other, *all;
 
 static void
 dialog_response (GtkDialog *d,
@@ -68,9 +68,6 @@ bind_props (void)
   g_object_bind_property (all, "active",
                          app_chooser_widget, "show-all",
                          G_BINDING_SYNC_CREATE);
-  g_object_bind_property (radio, "active",
-                         app_chooser_widget, "radio-mode",
-                         G_BINDING_SYNC_CREATE);
 }
 
 static void
@@ -209,10 +206,6 @@ main (int argc,
   gtk_grid_attach_next_to (GTK_GRID (grid), all,
                           other, GTK_POS_RIGHT, 1, 1);
 
-  radio = gtk_check_button_new_with_label ("Radio mode");
-  gtk_grid_attach_next_to (GTK_GRID (grid), radio,
-                          all, GTK_POS_BOTTOM, 1, 1);
-
   prepare_dialog ();
   g_signal_connect (open, "clicked",
                    G_CALLBACK (display_dialog), NULL);